Laravel Installation (Linux)
Connect to sever using ssh.
ssh root@server_ip
-
After execution a prompt will be asked to enter Password
-
Execute below command to update the apt package.
sudo apt install
sudo apt update -
Install apache web server, this is our web server through which our server accept the http request.
sudo apt install apache2
-
Check the apache status
sudo systemctl status apache2
-
Install neccessary php packages
sudo apt install php php-cli php-mbstring php-xml php-bcmath php-curl php-mysql php-zip unzip curl php8.3-bcmath git -y